<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">

<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type" />
<title>Untitled 1</title>
</head>

<body>
    <p>
        <p>order pritnerbudi</p>
        <?php
            echo $this->session->flashdata('message'); 
        ?>           
        <p>
            <p>Order history</p>
            <p>
                <table cellspacing="0" style="width: 100%">
                    
                    <tr>
                        <td>ID ORDER</td>
                        <td>NAMA BERKAS</td>
                        <td>ORDER REQUEST</td>
                        <td>TANGGAL ORDER</td>
                        <td>OPTION</td>
                    </tr>
                    
                    <?php 
                    if (isset($daftarorder)) {
                    foreach($daftarorder as $item){?>
                    
                    <tr>
                        <form action="<?php echo base_url().'index.php/pengguna/order/'; ?>" method="post">
                        <input type="hidden" name="idberkas" value="<?php echo $item->PB_IDDTLTRANSAKSI ?>" />
                        <td><?php echo $item->PB_IDBERKAS ?></td>
                        <td><?php echo $item->PB_NAMABERKAS; ?></td>
                        <td>
                            <p> KERTAS : <?php echo $item->PB_KERTAS; ?></p>
                            <p> WARNA : <?php echo $item->PB_WARNA; ?></p>
                            <p> KUALITAS : <?php echo $item->PB_KUALITAS; ?></p>
                            <p> DUPLEX ? : <?php echo $item->PB_DUPLEX; ?></p>
                            <p> HALAMAN CETAK : <?php echo $item->PB_HLMNCETAK; ?></p>
                            <p> COPY : <?php echo $item->PB_COPI; ?></p>
                            <p> TUJUAN KIRIM : <?php echo $item->PB_TUJUANKIRIM; ?></p>
                            <p> TANGGAL KIRIM : <?php echo $item->PB_TGLKIRIM; ?></p>
                            <p> FITUR : <?php echo $item->PB_FITUR; ?></p>
                            <p> PAKET : <?php echo $item->PB_PAKET; ?></p>
                            <p> ORIENTATION : <?php echo $item->PB_ORIENTATION; ?></p>
                            <p> STATUS : <?php echo $item->PB_STATUS; ?></p>
                            <p> NOTE : <?php echo $item->PB_NOTE; ?></p>
                        </td> 
                        <td><?php echo $item->PB_TGLDTLTRANSAKSI; ?></td>  
                        <td><a href="<?php echo base_url().'index.php/pengguna/cancelorder/'.$item->PB_IDDTLTRANSAKSI; ?>">CANCEL</a></td>
                        </form>
                    </tr>
                    
                    <?php }
                    } ?>
                    
                </table>                
            </p>
        </p>
</body>

</html>
